import { Entity, Column } from 'typeorm';
import { Abstract } from '@entity/abstract.entity';

@Entity()
export class Dept extends Abstract {
  @Column({
    nullable: true,
  })
  corpId: string;

  @Column({
    nullable: true,
  })
  cId: number;

  @Column({
    nullable: true,
  })
  name: string;

  @Column({
    nullable: true,
  })
  name_en: string;

  @Column({
    nullable: true,
  })
  parentId: number;

  @Column({
    nullable: true,
  })
  order: number;
}
